<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title th:text="${title}">选课系统</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 20px;
            background-color: #f4f4f4;
        }
        .container {
            max-width: 1000px;
            margin: 0 auto;
            background-color: white;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        h1 {
            color: #333;
            text-align: center;
        }
        .menu {
            display: flex;
            justify-content: center;
            margin: 20px 0;
        }
        .menu a {
            display: inline-block;
            padding: 10px 20px;
            margin: 0 10px;
            background-color: #4CAF50;
            color: white;
            text-decoration: none;
            border-radius: 4px;
        }
        .menu a:hover {
            background-color: #45a049;
        }
        .welcome {
            text-align: center;
            font-size: 18px;
            margin: 30px 0;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1 th:text="${title}">选课系统</h1>
        
        <div class="welcome" th:text="${welcome}">欢迎使用选课系统</div>
        
        <div class="menu">
            <a href="/student">学生管理</a>
            <a href="/course">课程管理</a>
            <a href="/select">选课系统</a>
        </div>
    </div>
</body>
</html> 